<?php
class Modulemanager_Data_Getallmodules implements Modulemanager_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "SELECT module_meta_values.module_name, module_content_values.module_title, module_meta_values.module_meta_title, module_meta_values.module_meta_description, module_meta_values.module_meta_keywords FROM module_meta_values, module_content_values WHERE module_meta_values.module_name = module_content_values.module_name ORDER BY module_content_values.module_title ASC;";
        //var_dump($variables['query']);
        //die();
        return $this->core_controller_selectdata->main($variables);
    }

}
